/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface Tbv_comunaDAO {
	public Tbv_comuna loadTbv_comunaByORMID(int co_id_comuna) throws PersistentException;
	public Tbv_comuna getTbv_comunaByORMID(int co_id_comuna) throws PersistentException;
	public Tbv_comuna loadTbv_comunaByORMID(int co_id_comuna, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tbv_comuna getTbv_comunaByORMID(int co_id_comuna, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tbv_comuna loadTbv_comunaByORMID(PersistentSession session, int co_id_comuna) throws PersistentException;
	public Tbv_comuna getTbv_comunaByORMID(PersistentSession session, int co_id_comuna) throws PersistentException;
	public Tbv_comuna loadTbv_comunaByORMID(PersistentSession session, int co_id_comuna, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tbv_comuna getTbv_comunaByORMID(PersistentSession session, int co_id_comuna, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tbv_comuna[] listTbv_comunaByQuery(String condition, String orderBy) throws PersistentException;
	public Tbv_comuna[] listTbv_comunaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tbv_comuna[] listTbv_comunaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Tbv_comuna[] listTbv_comunaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tbv_comuna loadTbv_comunaByQuery(String condition, String orderBy) throws PersistentException;
	public Tbv_comuna loadTbv_comunaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tbv_comuna loadTbv_comunaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Tbv_comuna loadTbv_comunaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Tbv_comuna createTbv_comuna();
	public boolean save(orm.Tbv_comuna tbv_comuna) throws PersistentException;
	public boolean delete(orm.Tbv_comuna tbv_comuna) throws PersistentException;
	public boolean deleteAndDissociate(orm.Tbv_comuna tbv_comuna) throws PersistentException;
	public boolean deleteAndDissociate(orm.Tbv_comuna tbv_comuna, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Tbv_comuna tbv_comuna) throws PersistentException;
	public boolean evict(orm.Tbv_comuna tbv_comuna) throws PersistentException;
	public Tbv_comuna loadTbv_comunaByCriteria(Tbv_comunaCriteria tbv_comunaCriteria);
	public Tbv_comuna[] listTbv_comunaByCriteria(Tbv_comunaCriteria tbv_comunaCriteria);
}
